package cn.detu.uu;

import java.util.Date;

public class Test_Time {
    public static void main(String[] args) {
        Date a = new Date();
        //常用方法
        System.out.println(a.getTime());
        System.out.println(a.getClass());
        System.out.println(a.getDate());
        System.out.println(a.getDay());
        System.out.println(a.getHours());
        System.out.println(a.getMinutes());
        System.out.println(a.getMonth());
        System.out.println(a.getSeconds());
        System.out.println(a.getTimezoneOffset());
        System.out.println(a.getYear());
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();


    }
}
